Skip to content

Conversation

@edolstra
Copy link
Member

Motivation

This prepares allowing the NAR cache to be used for substitution (see DeterminateSystems#279).

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@edolstra edolstra requested a review from Ericson2314 as a code owner January 14, 2026 21:24
@github-actions github-actions bot added the store Issues and pull requests concerning the Nix store label Jan 14, 2026

std::filesystem::path NarCache::makeCacheFile(const Hash & narHash, const std::string & ext)
{
return (cacheDir / narHash.to_string(HashFormat::Nix32, false)) + "." + ext;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm I think this will fail to build on MinGW. See ccdd1f1

@Ericson2314
Copy link
Member

Yeah I would like the division of labor to be a bit different, I will take a stab a it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants